package qeug.shsh.facde.resultext;

import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import kd.bos.openapi.common.result.CustomApiResult;
import kd.sdk.annotation.SdkPublic;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @projectName: qeug-cosmic-root-project
 * @package: qeug.shsh.facde.resultext
 * @className: AuditApiResultExt
 * @author: wenyx
 * @description: TODO
 * @date: 2023/10/23 11:02
 * @version: 1.0
 */
@SdkPublic
@ApiModel
public class AuditApiResultExt  implements Serializable {


    private @ApiParam("响应时间")Long timestamp;
    private @NotNull @ApiParam(
            value = "状态：true - 成功, false - 失败",
            required = true
    ) boolean status = true;
    private @ApiParam("错误代码") String errorCode = "";
    private @ApiParam("错误信息") String message;

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
